package arina.university.dao;

import arina.university.errorhandling.DAOException;
import arina.university.model.Group;

import java.util.Collection;

/**
 * Created with IntelliJ IDEA.
 * User: user
 * Date: 26.11.13
 * Time: 15:12
 * To change this template use File | Settings | File Templates.
 */
public interface GroupDAO {
    Group create(int id, String s) throws DAOException;

    void delete(int id)throws DAOException;

    void save(Group group)throws DAOException;

    Group find(int id)throws DAOException;

    Collection<Group> findAll()throws DAOException;

}
